package data;

import character.point.data.CharacterPointDatabase;
import character.sprite.data.CharacterSpriteDatabase;
import character.sprite.data.CharacterStyleDatabase;

/**
 * @deprecated
 */
public class DatabaseManager {

	public DatabaseManager() {
		
	}
	
	public void saveAllDatabases() {
		CharacterSpriteDatabase.getInstance().save();
		CharacterStyleDatabase.getInstance().save();
		CharacterPointDatabase.getInstance().save();
	}
	
	public void populateAllDatabases() {
		CharacterSpriteDatabase.getInstance().updateFromFiles();
		CharacterStyleDatabase.getInstance().updateFromFiles();
		CharacterPointDatabase.getInstance().updateFromFiles();
	}
	
}
